package com.lenovo.testreport.jenkins.service;

import com.lenovo.testreport.jenkins.model.Job;

import java.util.List;

/**
 * @author CJF
 * @date 2018/12/6
 */
public interface jenkinsService {
    List<Job> getList(String type);

    boolean buildJob(String jobName, Boolean isNeedParams, String buildJobParams);

    boolean stopJob(String jobName, Boolean isNeedParams, String buildJobParams);
}
